#ifndef CONTROL_STATE_H
#define CONTROL_STATE_H
#include "stm32f4xx.h"


enum css {
    Wait, Start, Stop
};

typedef struct cs {
    u8 state;
} ControlState;

void change_state(ControlState *cs);
void set_state(ControlState *cs, u8 state);
#endif
